﻿namespace Omu.Awesome.Mvc
{
    public class LookupAttribute : MetadataAttribute
    {
        public string Controller { get; set; }

        public string Title { get; set; }

        private bool clearButton;
        public bool ClearButton
        {
            get { return clearButton; }
            set
            {
                wasset.Add("ClearButton");
                clearButton = value;
            }
        }

        private bool multiselect;
        public bool Multiselect
        {
            get { return multiselect; }
            set
            {
                wasset.Add("Multiselect");
                multiselect = value;
            }
        }

        private bool fullscreen;
        public bool Fullscreen
        {
            get { return fullscreen; }
            set
            {
                wasset.Add("Fullscreen");
                fullscreen = value;
            }
        }
        
        private bool paging;
        public bool Paging
        {
            get { return paging; }
            set
            {
                wasset.Add("Paging");
                paging = value;
            }
        }

        public int Width { get; set; }
        public int Height { get; set; }
        
    }
}